package controllers

/*
 +----------------------------------------------------------------------
 + Title        : IndexController
 + Author       : huwl
 + Version      : 2.0.0
 + Initial-Time : 2024-11-23
 + Last-time    : 这个文件最后修改的时间 + 修改人的名称
 + Desc         : 首页控制器
 +----------------------------------------------------------------------
*/
import "github.com/gin-gonic/gin"

type IndexController struct {
	BaseController
}

/**
 * 首页
 *
 * @return json
 * @author huwl
 */
func (control *IndexController) Index(ctx *gin.Context) {
	control.BaseSuccess(ctx, control.WithMessage("welcome to use websocket server v1"))
}
